﻿using MiniFox.Configurations;
using System.Collections.ObjectModel;

namespace DataTransfer.Core.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class ExcelExportSettingCollection : KeyedCollection<string, ExcelExportSetting>
    {
        internal const string ELEMENT_NAME = "minifox:dts.excel:exports";
        protected override string GetKeyForItem(ExcelExportSetting item)
        {
            return item.Name;
        }

        //IExcelExporter IExcelExporterCollection.this[string name] => this[name];

        //IExporter IExporterCollection.this[string name] => this[name];

    }

}
